<?php 
	$type = $this->input->get('type');
	$id = $this->input->get('id');
?>
<div id="wrapper" style="background-color: #ffffff;">
	<div id="facebook" style="text-align: center;padding:5px;">
		<div id="fb-root"></div>
		<script>(function(d, s, id) {
		  var js, fjs = d.getElementsByTagName(s)[0];
		  if (d.getElementById(id)) return;
		  js = d.createElement(s); js.id = id;
		  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=460477277322423&version=v2.0";
		  fjs.parentNode.insertBefore(js, fjs);
		}(document, 'script', 'facebook-jssdk'));</script>
		<div class="fb-share-button" data-href="http://<?php echo $type;?>.you2play.com/play/<?php echo $id;?>" data-type="button"></div>
	</div>
	<div id="twitter" style="text-align: center;padding:5px;border-top:1px solid #edebeb;">
	    <a href="https://twitter.com/share" class="twitter-share-button" data-lang="en" data-count="none" data-url="http://<?php echo $type;?>.you2play.com/play/<?php echo $id;?>">Tweet</a>
		<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
	</div>
	<div id="google_plus" style="text-align: center;padding:5px;border-top:1px solid #edebeb;">
		<a href="#" onclick="popUp=window.open('https://plus.google.com/share?url=http://<?php echo $type;?>.you2play.com/play/<?php echo $id;?>', 'popupwindow', 'scrollbars=yes,width=800,height=400');popUp.focus();return false"><img class="share-googleplus" src="" alt="Social Share Articles on GooglePlus" title="Share articles to GooglePlus" />
		</a>
	</div>
</div>